3.806 \(\int (a^2+2 a b x^2+b^2 x^4)^p \, dx\)

Optimal. Leaf size=55 \[ x \left (\frac {b x^2}{a}+1\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (\frac {1}{2},-2 p;\frac {3}{2};-\frac {b x^2}{a}\right ) \]

[Out]

x*(b^2*x^4+2*a*b*x^2+a^2)^p*hypergeom([1/2, -2*p],[3/2],-b*x^2/a)/((1+b*x^2/a)^(2*p))

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {1089, 245} \[ x \left (\frac {b x^2}{a}+1\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (\frac {1}{2},-2 p;\frac {3}{2};-\frac {b x^2}{a}\right ) \]

Antiderivative was successfully verified.

[In]

Int[(a^2 + 2*a*b*x^2 + b^2*x^4)^p,x]

[Out]

(x*(a^2 + 2*a*b*x^2 + b^2*x^4)^p*Hypergeometric2F1[1/2, -2*p, 3/2, -((b*x^2)/a)])/(1 + (b*x^2)/a)^(2*p)

Rule 245

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*x*Hypergeometric2F1[-p, 1/n, 1/n + 1, -((b*x^n)/a)],
x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILtQ[Simplify[1/n + p], 0] && (IntegerQ[p
] || GtQ[a, 0])

Rule 1089

Int[((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Dist[(a^IntPart[p]*(a + b*x^2 + c*x^4)^FracPart[p]
)/(1 + (2*c*x^2)/b)^(2*FracPart[p]), Int[(1 + (2*c*x^2)/b)^(2*p), x], x] /; FreeQ[{a, b, c, p}, x] && EqQ[b^2
- 4*a*c, 0] &&  !IntegerQ[2*p]

Rubi steps

\begin {align*} \int \left (a^2+2 a b x^2+b^2 x^4\right )^p \, dx &=\left (\left (1+\frac {b x^2}{a}\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p\right ) \int \left (1+\frac {b x^2}{a}\right )^{2 p} \, dx\\ &=x \left (1+\frac {b x^2}{a}\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (\frac {1}{2},-2 p;\frac {3}{2};-\frac {b x^2}{a}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 46, normalized size = 0.84 \[ x \left (\left (a+b x^2\right )^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-2 p} \, _2F_1\left (\frac {1}{2},-2 p;\frac {3}{2};-\frac {b x^2}{a}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[(a^2 + 2*a*b*x^2 + b^2*x^4)^p,x]

[Out]

(x*((a + b*x^2)^2)^p*Hypergeometric2F1[1/2, -2*p, 3/2, -((b*x^2)/a)])/(1 + (b*x^2)/a)^(2*p)

________________________________________________________________________________________

fricas [F]  time = 0.90, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )}^{p}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^4+2*a*b*x^2+a^2)^p,x, algorithm="fricas")

[Out]

integral((b^2*x^4 + 2*a*b*x^2 + a^2)^p, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^4+2*a*b*x^2+a^2)^p,x, algorithm="giac")

[Out]

integrate((b^2*x^4 + 2*a*b*x^2 + a^2)^p, x)

________________________________________________________________________________________

maple [F]  time = 0.02, size = 0, normalized size = 0.00 \[ \int \left (b^{2} x^{4}+2 a b \,x^{2}+a^{2}\right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b^2*x^4+2*a*b*x^2+a^2)^p,x)

[Out]

int((b^2*x^4+2*a*b*x^2+a^2)^p,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^4+2*a*b*x^2+a^2)^p,x, algorithm="maxima")

[Out]

integrate((b^2*x^4 + 2*a*b*x^2 + a^2)^p, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int {\left (a^2+2\,a\,b\,x^2+b^2\,x^4\right )}^p \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a^2 + b^2*x^4 + 2*a*b*x^2)^p,x)

[Out]

int((a^2 + b^2*x^4 + 2*a*b*x^2)^p, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a^{2} + 2 a b x^{2} + b^{2} x^{4}\right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b**2*x**4+2*a*b*x**2+a**2)**p,x)

[Out]

Integral((a**2 + 2*a*b*x**2 + b**2*x**4)**p, x)

________________________________________________________________________________________